<html>
<head>
<title>menu</title>
<%include file="admin/header.html"%>
<style>

div {
	padding:0px;
	margin:0px;
}

body {
 padding:0px;
 margin:auto;
 text-align:center;
 background-color:#eff5ed;
 background:url(/static/images/admin/leftmenu_bg.gif);
 padding-left:3px;
 overflow:scroll;
 overflow-x:hidden;
}

dl.bitem {
	clear:both;
	width:130px;
	margin:0px 0px 5px 12px;
}

dl.bitem dt {
  height:24px;
  line-height:24px;
  text-align:center;
  border:1px dashed #ababab;
  background:#f4ffec url(/static/images/admin/menu-ex.png) 5px 4px no-repeat;
  cursor:pointer;
}

dl.bitem dd {
  padding:3px 3px 3px 3px;
  background-color:#fff;
}

div.items {
	clear:both;
	padding:0px;
	height:0px;
}

.fllct {
	float:left;
	width:85px;
}

.flrct {
	padding-top:3px;
	float:left;
}

.sitemu li {
	padding:0px 0px 0px 18px;
	line-height:22px;
	background:url(/static/images/admin/arr4.gif) no-repeat 5px 9px;
}

ul {
  padding-top:3px;
}

li {
  height:22px;
}

a.mmac div
{
	background:url(/static/images/admin/leftbg2.gif) no-repeat;
	height:37px!important;height:47px;
	padding:6px 4px 4px 10px;
	word-wrap: break-word;
	word-break : break-all;
	font-weight:bold;
	color:#325304;
}
a.mms div
{
	background:url(/static/images/admin/leftmbg1.gif) no-repeat;
	height:37px!important;height:47px;
	padding:6px 4px 4px 10px;
	word-wrap: break-word;
	word-break : break-all;
	font-weight:bold;
	color:#475645;
	cursor:pointer;
}
a.ms:hover div
{
	background:url(/static/images/admin/leftbg2.gif) no-repeat;
	color:#4F7632;
}
a.ms div
{
	background:url(/static/images/admin/leftmbg1.gif) no-repeat;
	height:37px!important;height:47px;
	padding:6px 4px 4px 10px;
	word-wrap: break-word;
	word-break : break-all;
	font-weight:bold;
	color:#475645;
	cursor:pointer;
}
a.ms:hover div
{
	background:url(/static/images/admin/leftbg2.gif) no-repeat;
	color:#4F7632;
}
a.mm div
{
	background:url(/static/images/admin/leftmbg1.gif) no-repeat;
	height:37px!important;height:47px;
	padding:6px 4px 4px 10px;
	word-wrap: break-word;
	word-break : break-all;
	font-weight:bold;
	color:#475645;
	cursor:pointer;
}

a.mm:hover div
{
	background:url(/static/images/admin/leftbg2.gif) no-repeat;
	color:#4F7632;
}

.mmf
{
	height:1px;
	padding:5px 7px 5px 7px;
}

#mainct
{
	padding-top:8px;background: url(/static/images/admin/idnbg1.gif) repeat-y;
}
td{padding:0px;}
</style>
<base target="main" />
</head>
<body target="main" onLoad="CheckOpenMenu();">

<table width="180" align="left" border='0' cellspacing='0' cellpadding='0'>
	<tr>
  <td valign='top' style='padding-top:10px' width='20'>
<%foreach from=$menu key=key item=item%>
	<a id='link<%$key%>' <%if $key == 0%>class='mmac'<%else%>class='mms'<%/if%>><div onClick="ShowMainMenu(<%$key%>)"><%$item.title%></div></a>
<%/foreach%>

  <div class='mmf'></div>
  </td>
  <td width='160' id='mainct' valign="top">

<%foreach from=$menu key=key item=item%>
<div id='ct<%$key%>' <%if $key != 0%>style="display:none"<%/if%>>

	<%foreach from=$item.sub key=key2 item=item2%>

		<dl class='bitem'><dt onClick='showHide("items<%$key%>_<%$key2%>")'><b><%$item2.title%></b></dt>
		<dd style='display:block' class='sitem' id='items<%$key%>_<%$key2%>'>
		<ul class='sitemu'>
			<%foreach from=$item2.sub key=key2 item=item3%>
				<li><a href='<%$item3.link%>'><%$item3.title%></a></li>
			<%/foreach%>
		</ul>
		</dd>
		</dl>

	<%/foreach%>

</div>
<%/foreach%>

	</td>
	</tr>
	<tr>
  <td width='26'></td>
  <td width='160' valign='top'><img src='/static/images/admin/idnbgfoot.gif' /></td>
	</tr>

</table>
</body>
</html>